﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace SharpSoda.Remote
{
    public interface IRemoteChannel
    {
        string GetUri();

        Task<string> Request(string param);

        Task<TReply> Request<TRequest, TReply>(TRequest param)
            where TRequest : class
            where TReply : class;
    }
}
